﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace UCF.Core.Forms.CustomControls.SoSearchPanel
{
    public class SearchField
    {
        public DataTable Fields = new DataTable();
        public SearchField()
        {
            Fields.Columns.Add("Title");
            Fields.Columns.Add("Type");
            Fields.Columns.Add("Data");
            Fields.Columns.Add("Default");
        }
        public void Add(string title, ControlType type, string data="", string value="")
        {
            Fields.Rows.Add(title, type.ToString(), data, value);
        }
    }
}
